#include "Graph.c"

int main(void) {
    UndirectedGraphPtr graph = createUndirectedGraph(9);
    ugraphAddEdge(graph, 1 ,3);
    ugraphAddEdge(graph, 0 ,2);
    ugraphAddEdge(graph, 2 ,4);
    ugraphAddEdge(graph, 1 ,2);
    ugraphAddEdge(graph, 3 ,5);
    ugraphAddEdge(graph, 5 ,6);
    ugraphAddEdge(graph, 0 ,1);
    ugraphAddEdge(graph, 7 ,8);

    printUgraphDfs(graph, 2);
    return 0;
}